package com.xyzh.stj.web.dao;

import com.xyzh.stj.web.entity.RoleEntity;
import com.xyzh.application.base.dao.BasicMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色 Mapper 接口
 * </p>
 *
 * @author @JZB
 * @since 2023-10-29
 */
public interface RoleMapper extends BasicMapper<RoleEntity> {

    List<RoleEntity> getRoles(@Param("userId") String userId);
}
